package com.example.demo.service;

import com.example.demo.entity.websocket.Message;
import com.example.demo.entity.websocket.MessageForm;

import java.sql.Connection;
import java.util.List;

public interface MessageService {
    Integer findNoReadMessageLength( String userId);
    void sendMessage(Message message);
    List<Message> findMessageBySendUserAndReceiveUser(String sendUserId, String receiveUserId);

    List<MessageForm> searchUserForForm(String loginUserId, String searchUserName);
}
